These appear when modules such as the following are installed:
-kmod-nf-nathelper
-kmod-nf-nathelper-extra
They render as e.g.:
Utilise *ftp* conntrack helper
when fw4 rules similar to the following exist
```
table inet fw4 {
chain helper_lan {
tcp dport 21 ct helper set "ftp" comment "!fw4: FTP passive connection tracking"
}
}
```
ht @dave14305 for the working code diff
Signed-off-by: Paul Donald <[email protected]>
'return': _('Continue in calling chain'),
+ 'ct helper': _('Utilise <strong>%h</strong> conntrack helper'),
'flow': _('Utilize flow table <strong>%h</strong>')
};
case 'masquerade':
case 'return':
case 'flow':
+ case 'ct helper':
case 'log':
return true;
}
case 'match':
return this.renderMatchExpr(spec);
+ case 'ct helper':
+ return E('span', {
+ 'class': 'ifacebadge'
+ }, action_translations[kind].format(spec));
+
case 'reject':
var k = 'reject.%s'.format(spec.type);